<link rel="stylesheet" href="<?php echo base_url().'assets/js/jwysiwyg/jquery.wysiwyg.css'; ?>" type="text/css" />
<script src="<?php echo base_url();?>assets/js/jquery.easytabs.min.js" type="text/javascript"></script>
<script src="<?php echo base_url();?>assets/js/jwysiwyg/jquery.wysiwyg.js" type="text/javascript"></script>
<script type="text/javascript">
	$(document).ready( function() {
		$('.ta-set').wysiwyg();
		$('#tab-container').easytabs();

	});

</script>

<div id="content">
<?php
echo form_open('admin/settings/save', array('name'=>'adminForm'));
echo form_submit('','Save','class="button"');
?>
<div class="help-tips-a">Hover your mouse on the label to see the description of each settings.</div>
<div id="tab-container" class='tab-container'>
 <ul class='etabs'>
   <li class='tab'><a href="#tabset-content">Content</a></li>
   <li class='tab'><a href="#tabset-general">General</a></li>
   <li class='tab'><a href="#tabset-paypal">Paypal</a></li>

 </ul>
 <div class='panel-container'>
  <div id="tabset-general">
  	<div id="mail-set">
		<h3>Mail Settings </h3>
		<table class="admin-tableform">
			<tr>
				<td title="The email address that will be used to send site emails from.">Email From:</td>
				<td><input type="text" name="emailfrom" value="<?php echo $this->config->item('emailfrom') ?>" /></td>
			</tr>
			<tr>
				<td title="This is mostly the name of the website or name of website Admin or Owner.">From Name:</td>
				<td><input type="text" name="fromname" value="<?php echo $this->config->item('fromname') ?>" /></td>
			</tr>
		</table>
  	</div>
  	<div id="currency-set">
		<h3>Currency Settings </h3>
		<table class="admin-tableform">
			<tr>
				<td title="Currency to use in the website.">Currency:</td>
				<td><input type="text" name="currency" value="<?php echo $this->config->item('currency') ?>" /></td>
			</tr>
			<tr>
				<td title="Currency symbol.">Currency Symbol:</td>
				<td><input type="text" name="fromname" value="<?php echo $this->config->item('currency_symbol') ?>" /></td>
			</tr>
		</table>
  	</div>

  </div>
  <div id="tabset-paypal">
  	<div id="paypal-set">
		<table class="admin-tableform">
			<tr>
				<td title="Merchant paypal account.">Merchant Paypal:</td>
				<td><input type="text" name="merchant_paypal" value="<?php echo $this->config->item('merchant_paypal') ?>" /></td>
			</tr>
			<tr>
				<td title="An admin email address where you can receive notification from paypal.">Notify to email address:</td>
				<td><input type="text" name="paypal_notify_email" value="<?php echo $this->config->item('paypal_notify_email') ?>" /></td>
			</tr>
		</table>
  	</div>
  </div>
  <div id="tabset-content">
		<table class="admin-tableform">
			<tr>
				<td class="td-label" title="The Welcome Content in the Home Page.">Welcome Content:</td>
				<td><textarea class="ta-set" name="welcome" id="ta-welcome"><?php echo $this->config->item('welcome') ?></textarea></td>
			</tr>
			<tr>
			<tr>
				<td class="td-label" title="The content for Terms and Condition seen in Sign Up Page.">Terms and Conditions:</td>
				<td><textarea class="ta-set" name="terms" id="ta-terms"><?php echo $this->config->item('terms') ?></textarea></td>
			</tr>
			<tr>
				<td class="td-label" title="The Frequently Question and Answer Content in the FAQ Page.">FAQs:</td>
				<td><textarea class="ta-set" name="faqs" id="ta-faqs"><?php echo $this->config->item('faqs') ?></textarea></td>
			</tr>
			<tr>
				<td class="td-label" title="About Us Details">About Us:</td>
				<td><textarea class="ta-set" name="aboutus" id="ta-aboutus"><?php echo $this->config->item('aboutus') ?></textarea></td>
			</tr>
		</table>
  </div>
 </div>
</div>

<?php echo form_close(); ?>

</div>
